package com.yy.market.mvp.presenter;

import android.content.Context;
import com.yy.market.mvp.view.BaseView;
import rx.Subscription;

/**
 * Created by luweibin on 2016/6/15.
 */
public abstract class BasePresenter<T extends BaseView> {
    protected Subscription subscription;
    protected T view;
    Context context;

    public BasePresenter(T view, Context context) {
        this.view = view;
        this.context = context;
    }

    public abstract void release();
}
